package com.ywqf_api.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.ywqf_api.base.BaseController;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;

import java.util.HashMap;
import java.util.Map;

@Controller
@RequestMapping("index")
public class IndexController extends BaseController {

        @RequestMapping(value = "/index" ,method = RequestMethod.GET)
        @ResponseBody
        public ModelAndView index () {
            ModelAndView mv = new ModelAndView();
            mv.setViewName("index");
            return mv;

        }
}
